package org.outlook.apps.goal.db;

import java.util.Collection;
import java.util.List;
import java.util.Map;

import org.outlook.apps.goal.pojo.Column;

public interface DBSource {

	Collection<?> queryAll(String sql, Object[] objs, Column[] columns);

	List<Map<String, String>> query(String sql, Object[] objs);

	List<Map<?, Object>> query(String sql, Object[] objs, Column[] columns);

	int queryCount(String sql, Object[] objects);

}
